<!-- 表格问答 -->

<template>
  <div class="flex1">
    <OurTitle v-bind="$props" />

    <div class="DetailQuestionnaire-table">
      <div class="flex">
        <div class="flex2" />
        <div v-for="option in obj.optionList" :key="option.key" class="flex1">{{ option.content }}</div>
      </div>

      <div v-for="question in obj.questionList" :key="question.key" class="flex">
        <div class="flex2">{{ question.title }}</div>
        <div v-for="option in obj.optionList" :key="option.key" class="flex1" />
      </div>
    </div>

    <div class="DetailQuestionnaire-flex">
      <div class="DetailQuestionnaire-remark">底部备注</div>
      <OurRemark v-bind="$props" />

      <div>字数</div>
      <div style="width: 90px">
        <div class="el-input__inner">{{ obj.min }}</div>
      </div>
      <div style="width: 90px">
        <div class="el-input__inner">{{ obj.max }}</div>
      </div>
    </div>
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import MyRadioTable from '../MyRadioTable'

// ============================== 导出组件 ============================== //

export default CORE.extend(MyRadioTable, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTextareaTable',
})
</script>
